package com.wsapi.commons.vo;

/**
 * 排序对象
 * User: yangyan
 * Date: 14-1-2
 * Time: 下午9:11
 */
public class OrderField {


    private String field;
    private boolean asc;

    public OrderField(boolean asc) {
        this.asc = asc;
    }

    public boolean isAsc() {
        return asc;
    }

    public void setAsc(boolean asc) {
        this.asc = asc;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public OrderField(String field,boolean asc) {
        this.asc = asc;
        this.field = field;
    }
}
